function GetHazardReportNowChar() {

	var reportOutMenu = new Ext.menu.Menu({
        id: 'reportOutMenu',
        style: {
            overflow: 'visible'     // For the Combo popup
        },
        items: [
        	{
						text : '导出到excel',
						tooltip : '导出到excel',
						handler : function() {
						}
					},{
						text : '导出到pdf',
						tooltip : '导出到pdf',
						handler : function() {
						}
					}
        ]
    });

	 var store1 = new Ext.data.JsonStore({
        fields: [{name: 'check'},{name: 'x'},{name: 'y'},{name: 'z'},{name: 'z1',type: 'int'}],
        data: [
        {check: '设备1',x: 5,y: 3,z: 6,z1: 6},
        {check: '设备2',x: 3,y: 3,z: 1,z1: 3},
        {check: '设备3',x: 4,y: 4,z: 2,z1: 5},
        {check: '设备4',x: 5,y: 2,z: 3,z1: 2},
        {check: '设备5',x: 6,y: 7,z: 1,z1: 7}
        ]
    });
   var chart1 = {
						    xtype: 'stackedcolumnchart',
						    store: store1,
						    xField: 'check',
						    xAxis: new Ext.chart.CategoryAxis({
						        title: '设备'
						    }),
						    yAxis: new Ext.chart.NumericAxis({
						        title: "数量"
						    }),
						    series: [{
						        displayName: "严重",
						        yField: 'x'
						    },
						    {
						        displayName: "高",
						        yField: 'y'
						    },
						    {
						        displayName: "中",
						        yField: 'z'
						    },
						    {
						        displayName: "低",
						        yField: 'z1'
						    }],
						    chartStyle: {
						        padding: 10,
						        legend: {
						            display: 'right'
						        }
						    }
							};
	 var store2 = new Ext.data.JsonStore({
        fields: [{name: 'check'},{name: 'x',type: 'int'}],
        data: [
        {check: '设备1',x: 5},
        {check: '设备2',x: 3},
        {check: '设备3',x: 4},
        {check: '设备4',x: 5},
        {check: '设备5',x: 6}
        ]
    });
	var chart2 = {
						    xtype: 'stackedcolumnchart',
						    store: store1,
						    xField: 'check',
						    xAxis: new Ext.chart.CategoryAxis({
						        title: '设备'
						    }),
						    yAxis: new Ext.chart.NumericAxis({
						        title: "数量"
						    }),
						    series: [{
						        displayName: "数量",
						        yField: 'x'
						    }],
						    chartStyle: {
						        padding: 10,
						        legend: {
						            display: 'right'
						        }
						    }
							};
	 var store3 = new Ext.data.JsonStore({
        fields: [{name: 'check'},{name: 'x'},{name: 'y',type: 'int'}],
        data: [
        {check: '密码长度检查基线',x: 8,y: 5},
        {check: 'http服务禁用基线',x: 3,y: 5},
        {check: '会话超时基线',x: 4,y: 2}
        ]
    });
	var chart3 = {
						    xtype: 'stackedcolumnchart',
						    store: store3,
						    xField: 'check',
						    xAxis: new Ext.chart.CategoryAxis({
						        title: '基线'
						    }),
						    yAxis: new Ext.chart.NumericAxis({
						        title: "数量"
						    }),
						    series: [{
						        displayName: "符合基线服务器数量",
						        yField: 'x'
						    },{
						        displayName: "不符合基线服务器数量",
						        yField: 'y'
						    }],
						    chartStyle: {
						        padding: 10,
						        legend: {
						            display: 'right'
						        }
						    }
							};
	 var store4 = new Ext.data.JsonStore({
        fields: [{name: 'check'},{name: 'x'},{name: 'y',type: 'int'}],
        data: [
        {check: 'telnet基线',x: 8,y: 2},
        {check: 'ftp基线',x: 4,y: 5},
        {check: 'sftp基线',x: 7,y: 2},
        {check: 'http基线',x: 4,y: 8}
        ]
    });
	var chart4 = {
						    xtype: 'stackedcolumnchart',
						    store: store4,
						    xField: 'check',
						    xAxis: new Ext.chart.CategoryAxis({
						        title: '基线'
						    }),
						    yAxis: new Ext.chart.NumericAxis({
						        title: "数量"
						    }),
						    series: [{
						        displayName: "符合基线服务器数量",
						        yField: 'x'
						    },{
						        displayName: "不符合基线服务器数量",
						        yField: 'y'
						    }],
						    chartStyle: {
						        padding: 10,
						        legend: {
						            display: 'right'
						        }
						    }
							};
	var Store5 = new Ext.data.JsonStore({
				fields : ['season', 'total'],
				data : [{
							season : '密码长度不符合服务器数量',
							total : 20
						}, {
							season : 'Http服务禁用开启不符合服务器数量',
							total : 33
						}, {
							season : '会话超时设置不符合服务器数量',
							total : 25
						}]
			});

	var pie5 = {
						store : Store5,
						xtype : 'piechart',
						dataField : 'total',
						categoryField : 'season',
						extraStyle : {
							legend : {
								display : 'right',
								padding : 5,
								font : {
									size : 13
								}
							}
						}
					};
	var Store6 = new Ext.data.JsonStore({
				fields : ['season', 'total'],
				data : [{
							season : 'ftp基线不符合服务器数量',
							total : 33
						}, {
							season : 'telnet基线不符合服务器数量',
							total : 21
						}, {
							season : 'sftp基线不符合服务器数量',
							total : 20
						}, {
							season : 'http基线不符合服务器数量',
							total : 29
						}, {
							season : '其他',
							total : 44
						}]
			});

	var pie6 = {
						store : Store6,
						xtype : 'piechart',
						dataField : 'total',
						categoryField : 'season',
						extraStyle : {
							legend : {
								display : 'right',
								padding : 5,
								font : {
									size : 13
								}
							}
						}
					};

	var states = [
		['1', '设备基准报表'],
		['2', '基线基准报表'],
		['3', '总体情况报表']
		];
	
	var panel1 = new Ext.Panel({
							region: 'north',
							height: 300,
							title:'设备基线合规检查',
							items : [chart1]
							
						});
	var panel2 = new Ext.Panel({
							region: 'center',
							title:'业务安全基线检查',
							items : [chart2]
						});
	var centerPanel = new Ext.Panel({

        region : 'center',
        layout : 'border',
        tbar : [
								{
															xtype : 'combo',
															fieldLabel: '统计条件',
															name : 'natchatterm1',
															frame : true,
															id : 'natchatterm1',
															store : new Ext.data.ArrayStore({
																	fields : ['abbr', 'state'],
																	data : states
																}),
															valueField : 'abbr',
															displayField : 'state',
															typeAhead : true,
															mode : 'local',
															triggerAction : 'all',
															value : '1',
															editable : false,
															width : 140,
															listeners : {
													        select : function (combo, record, index) {
													        	var items=panel1.items.items;
																			for(var i=0;i<items.length;i++){
																			  panel1.remove(items[i]);
																		}
													        	if(record.get('abbr') == '1'){
													        		panel1.add(chart1);
													        	}else if(record.get('abbr') == '2'){
																			panel1.add(chart3);
													        	}else if(record.get('abbr') == '3'){
																			panel1.add(pie5);
																		}
																		panel1.doLayout();

													        	var items=panel2.items.items;
																			for(var i=0;i<items.length;i++){
																			  panel2.remove(items[i]);
																		}
													        	if(record.get('abbr') == '1'){
													        		panel2.add(chart2);
													        	}else if(record.get('abbr') == '2'){
																			panel2.add(chart4);
													        	}else if(record.get('abbr') == '3'){
																			panel2.add(pie6);
																		}
																		panel2.doLayout();

													   			}
													   	}
								},'-',{
				            text:'导出',
				            iconCls: 'out', 
				            menu: reportOutMenu  
				        }],
        items: [
        		panel1,panel2
        ]

			});
    
    


	return centerPanel;
}
